package com.itheima.vms.domain;

import com.itheima.vms.domain.po.Brand;

import java.util.List;

public class PageResult<T> {
    private Long total;
    private List<T> list;

    public PageResult( List<T> list,Long total) {
        this.list = list;
        this.total = total;

    }


    // getter and setter
    public Long getTotal() { return total; }
    public void setTotal(Long total) { this.total = total; }

    public List<T> getList() { return list; }
    public void setList(List<T> list) { this.list = list; }
}